<% unless current_user %>
  <%= link_to '登录', new_user_session_path %>
<% else %>
  <%= link_to '注销', destroy_user_session_path, method: :delete %>
<% end %>